package sh.wnxy.wn38.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wn38
 * @since 2021-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Orderitem对象", description="")
public class Orderitem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oi_id", type = IdType.AUTO)
    private Integer oiId;

    private String oiOrderid;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    private String oiSpotname;

    private Double oiSpotprice;

    private Integer oiNum;

    private Double oiTotal;

    private String oiStatus;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;

    private String oiSpottype;

    private LocalDate oiSpotdate;

    private String oiImg;


}
